import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/mgt/project/query',
    method: 'post',
    data
  })
}

export function getProjectXfgcList(data) {
  return request({
    url: '/mgt/project/getProjectXfgcList',
    method: 'post',
    data
  })
}

export function getProjectGdyList(data) {
  return request({
    url: '/mgt/project/getProjectGdyList',
    method: 'post',
    data
  })
}

export function saveByJson(data) {
  return request({
    url: '/mgt/project/saveByJson',
    method: 'post',
    data
  })
}


export function batchLock(data) {
  return request({
    url: '/mgt/project/batchLock',
    method: 'post',
    data
  })
}

export function deletesByLogic(data) {
  return request({
    url: '/mgt/project/deletesByLogic',
    method: 'post',
    data
  })
}

export function batchDelete(data) {
  return request({
    url: '/mgt/project/batchDelete',
    method: 'post',
    data
  })
}

export function updateSort(data) {
  return request({
    url: '/mgt/project/updateSort',
    method: 'post',
    data
  })
}

export function supplierPrice(data) {
  return request({
    url: '/mgt/project/supplierPrice',
    method: 'post',
    data
  })
}
